home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / winup2.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-06-11  |  1KB  |  45 lines

  1. @echo off
  2.  
  3. win %1 %2 %3 %4 %01
  4.  
  5. if errorlevel 101 goto done
  6. if errorlevel 100 goto normal_exit
  7. if errorlevel   0 goto error_1
  8.  
  9.  
  10. rem *-----------------------------------------------------------------------
  11. rem * Error_1  Can't find windows
  12. rem *-----------------------------------------------------------------------
  13. :error_1
  14. cls
  15. if exist %0.tmp goto normal_exit
  16. rem echo INSTALL: Could Not Find Windows.  Check Path and run again.
  17. echo INSTALL: Could Not Find Windows, or could not create temp file.
  18. echo          To run INSTALL, you must have a path set to Windows, and at
  19. echo          least [RWCEMFA] rights in the installation and windows directories.
  20. goto done
  21.  
  22.  
  23. rem *-----------------------------------------------------------------------
  24. rem * Errorlevel 0- Normal Completion for install1
  25. rem *-----------------------------------------------------------------------
  26. :normal_exit
  27. rem echo normal_exit
  28. rem if errorlevel 100 echo level 100
  29. rem if errorlevel 101 echo level 101
  30. rem if errorlevel 0 echo level 0
  31. %02 %0.tmp
  32.  
  33.  
  34. rem *-----------------------------------------------------------------------
  35. rem * Terminate the batch file
  36. rem *-----------------------------------------------------------------------
  37. :done
  38. rem echo done
  39. rem if errorlevel 100 echo level 100
  40. rem if errorlevel 101 echo level 101
  41. rem if errorlevel 0 echo Installation not Completed!
  42.  
  43.  
  44.  
  45.